#define  _CRT_SECURE_NO_WARNINGS 1
#include"tree.h"

void test01()
{
	BTNode* root = BinaryTreeCreate();
	int size = 0;
	//BinaryTreeSize(root, &size);
	//printf("size:%d\n", size);
	//printf("size:%d\n", BinaryTreeSize(root));
	//printf("size:%d\n", BinaryTreeLeafSize(root));
	//printf("ksize:%d\n", BinaryTreeKSize(root,3));
	//printf("depth:%d\n", BinaryTreeDepth(root));
	BTNode* find = BinaryTreeFind(root, 'E');
	/*if (find)
	{
		printf("找到了\n");

	}
	else {
		printf("没找到\n");
	}*/

	BinaryTreeDestroy(&root);
}
void testo02()
{
	BTNode* root = BinaryTreeCreate();
	levelOrder(root);
}


int main()
{
	test02();
	//test01();
	return 0;
}